3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides general routines for operating with style objects.
You can use the Q3Style_GetType function to get the type of a style object.
TQ3ObjectType Q3Style_GetType (TQ3StyleObject style);
The Q3Style_GetType function returns, as it s function result, the type of the style object specified by the style parameter. The types of style objects currently supported by QuickDraw 3D are defined by these constants:
kQ3StyleTypeBackfacing
kQ3StyleTypeFill
kQ3StyleTypeHighlight
kQ3StyleTypeInterpolation
kQ3StyleTypeOrientation
kQ3StyleTypePickID
kQ3StyleTypePickParts
kQ3StyleTypeReceiveShadows
kQ3StyleTypeSubdivision
If the specified style object is invalid or is not one of these types, Q3Style_GetType returns the value kQ3ObjectTypeInvalid .
You can use the Q3Style_Submit function to submit a style in retained mode.
TQ3Status Q3Style_Submit (
TQ3StyleObject style,
TQ3ViewObject view);
Previous | QD3D Book | Overview | Chapter Contents | Next |